﻿namespace CatClient.Message
{
    using System;
    using System.Collections.Generic;

    public interface ITransaction : IMessage
    {
        ITransaction AddChild(IMessage message);
        bool HasChildren();

        string ContextKey { get; }

        IList<IMessage> Children { get; }

        long DurationInMicros { get; set; }

        long DurationInMillis { get; set; }

        bool Standalone { get; set; }
    }
}

